Router.route('/',{
	name: 'app.index',
  controller: 'LoginController'
});
Router.route('/login',  {
  name: 'app.login',
  controller: 'LoginController'
});
Router.route('/resetPasswd',  {
  name: 'resetPasswd',
  controller: 'resetPasswdController'
});
Router.route('/bindPhone',  {
  name: 'bindPhone',
  controller: 'bindPhoneController'
});
Router.route('/setAccount',  {
  name: 'setAccount',
  controller: 'setAccountController'
});
Router.route('/wallet',  {
  name: 'wallet',
  controller: 'WalletController'
});
Router.route('/wallet-detail',  {
  name: 'wallet.detail',
  controller: 'WalletDetailController'
});

Router.route('/capital',  {
  name: 'capital',
  controller: 'CapitalController'
});

Router.route('/withdrawals', {
	name: 'withdrawals',
	controller: 'withdrawalsController',
});
Router.route('/soldGoods', {
	name: 'soldGoods',
	controller: 'soldGoodsController',
});
Router.route('/orders', {
	name: 'orders',
	controller: 'ordersController',
});
Router.route('/partnerHome', {
	name: 'home',
	controller: 'partnerHomeController',
});
Router.route('/partnerCenter', {
	name: 'partnerCenter',
	controller: 'partnerCenterController',
});

Router.route('/myMonitor/:id?', {
	name: 'myMonitor',
	controller: 'myMonitorController',
});
Router.route('/myPlatoon/:id?', {
	name: 'myPlatoon',
	controller: 'myPlatoonController',
});
Router.route('/myCompany/:id?', {
	name: 'myCompany',
	controller: 'myCompanyController',
});
Router.route('/draws', {
	name: 'Draws',
	controller: 'DrawsController',
});
Router.route('/record/:id?', {
	name: 'record',
	controller: 'recordController',
});
Router.route('/soldsCount', {
	name: 'soldsCount',
	controller: 'soldsCountController',
});
Router.route('/rankingList', {
	name: 'rankingList',
	controller: 'rankingListController',
});
Router.route('/soldsSkill/:id', {
	name: 'soldsSkill',
	controller: 'soldsSkillController',
});
Router.route('/gDetails/:id', {
  name: 'goods.detail',
  controller: 'gDetailsController'
});
Router.route('/myTeam', {
  name: 'myTeam',
  controller: 'myTeamController'
});
/*
Router.route('/myMonitor', {
	name: 'myMonitor',
	controller: 'myMonitorController',
});

/* 404页面，带参数的路由需要在only后面的数组里把该路由名添加一下，防止不能正常访问 */
//Router.onBeforeAction('dataNotFound', {only: ['setAccount', 'bindPhone']});
